<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Nabu-asr: nabu.processing.processors.feature_computers.mfcc.Mfcc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Nabu-asr
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacenabu.html">nabu</a></li><li class="navelem"><b>processing</b></li><li class="navelem"><b>processors</b></li><li class="navelem"><b>feature_computers</b></li><li class="navelem"><b>mfcc</b></li><li class="navelem"><a class="el" href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1mfcc_1_1Mfcc.html">Mfcc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1mfcc_1_1Mfcc-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">nabu.processing.processors.feature_computers.mfcc.Mfcc Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>the feature computer class to compute MFCC features  
 <a href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1mfcc_1_1Mfcc.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for nabu.processing.processors.feature_computers.mfcc.Mfcc:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1mfcc_1_1Mfcc.png" usemap="#nabu.processing.processors.feature_5Fcomputers.mfcc.Mfcc_map" alt=""/>
  <map id="nabu.processing.processors.feature_5Fcomputers.mfcc.Mfcc_map" name="nabu.processing.processors.feature_computers.mfcc.Mfcc_map">
<area href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer.html" title="A featurecomputer is used to compute features. " alt="nabu.processing.processors.feature_computers.feature_computer.FeatureComputer" shape="rect" coords="0,56,487,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4705a0dfa77c6ea87c0c7872d0e0ad06"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1mfcc_1_1Mfcc.html#a4705a0dfa77c6ea87c0c7872d0e0ad06">comp_feat</a> (self, sig, rate)</td></tr>
<tr class="memdesc:a4705a0dfa77c6ea87c0c7872d0e0ad06"><td class="mdescLeft">&#160;</td><td class="mdescRight">compute the features  <a href="#a4705a0dfa77c6ea87c0c7872d0e0ad06">More...</a><br /></td></tr>
<tr class="separator:a4705a0dfa77c6ea87c0c7872d0e0ad06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62c55172265a864ffd98f3cc49b4459d"><td class="memItemLeft" align="right" valign="top"><a id="a62c55172265a864ffd98f3cc49b4459d"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1mfcc_1_1Mfcc.html#a62c55172265a864ffd98f3cc49b4459d">get_dim</a> (self)</td></tr>
<tr class="memdesc:a62c55172265a864ffd98f3cc49b4459d"><td class="mdescLeft">&#160;</td><td class="mdescRight">the feature dimemsion <br /></td></tr>
<tr class="separator:a62c55172265a864ffd98f3cc49b4459d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer.html">nabu.processing.processors.feature_computers.feature_computer.FeatureComputer</a></td></tr>
<tr class="memitem:a2beedee3adba302c5faa14a919cf661e inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer.html#a2beedee3adba302c5faa14a919cf661e">__init__</a> (self, conf)</td></tr>
<tr class="memdesc:a2beedee3adba302c5faa14a919cf661e inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer.html" title="A featurecomputer is used to compute features. ">FeatureComputer</a> constructor.  <a href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer.html#a2beedee3adba302c5faa14a919cf661e">More...</a><br /></td></tr>
<tr class="separator:a2beedee3adba302c5faa14a919cf661e inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8059b20b338838f27963f2666ccb9d4d inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer.html#a8059b20b338838f27963f2666ccb9d4d">__call__</a> (self, sig, rate)</td></tr>
<tr class="memdesc:a8059b20b338838f27963f2666ccb9d4d inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="mdescLeft">&#160;</td><td class="mdescRight">compute the features  <a href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer.html#a8059b20b338838f27963f2666ccb9d4d">More...</a><br /></td></tr>
<tr class="separator:a8059b20b338838f27963f2666ccb9d4d inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fdf58e538db16fb4dc81203d4484a69 inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer.html#a2fdf58e538db16fb4dc81203d4484a69">comp_feat</a> (self, sig, rate)</td></tr>
<tr class="memdesc:a2fdf58e538db16fb4dc81203d4484a69 inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="mdescLeft">&#160;</td><td class="mdescRight">compute the features  <a href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer.html#a2fdf58e538db16fb4dc81203d4484a69">More...</a><br /></td></tr>
<tr class="separator:a2fdf58e538db16fb4dc81203d4484a69 inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47db7de9e87afbf4c1d3a7d0c3746ced inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="memItemLeft" align="right" valign="top"><a id="a47db7de9e87afbf4c1d3a7d0c3746ced"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer.html#a47db7de9e87afbf4c1d3a7d0c3746ced">get_dim</a> (self)</td></tr>
<tr class="memdesc:a47db7de9e87afbf4c1d3a7d0c3746ced inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="mdescLeft">&#160;</td><td class="mdescRight">the feature dimemsion <br /></td></tr>
<tr class="separator:a47db7de9e87afbf4c1d3a7d0c3746ced inherit pub_methods_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer.html">nabu.processing.processors.feature_computers.feature_computer.FeatureComputer</a></td></tr>
<tr class="memitem:a485a5676451ae30e069980ac71d70f4f inherit pub_attribs_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="memItemLeft" align="right" valign="top"><a id="a485a5676451ae30e069980ac71d70f4f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>conf</b></td></tr>
<tr class="separator:a485a5676451ae30e069980ac71d70f4f inherit pub_attribs_classnabu_1_1processing_1_1processors_1_1feature__computers_1_1feature__computer_1_1FeatureComputer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>the feature computer class to compute MFCC features </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a4705a0dfa77c6ea87c0c7872d0e0ad06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4705a0dfa77c6ea87c0c7872d0e0ad06">&sect;&nbsp;</a></span>comp_feat()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def nabu.processing.processors.feature_computers.mfcc.Mfcc.comp_feat </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>sig</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>rate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>compute the features </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sig</td><td>the audio signal as a 1-D numpy array </td></tr>
    <tr><td class="paramname">rate</td><td>the sampling rate</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the features as a [seq_length x feature_dim] numpy array </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="mfcc_8py.html">mfcc.py</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>
